﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Steve
{
    public static class IntegrationObjectExtensions
    {
        public static bool IsSystem(this IIntegrationObject obj)
        {
            if (obj == null) throw new ArgumentNullException("obj");
            return !string.IsNullOrEmpty(obj.SystemName);
        }
    }

    public interface IIntegrationObject
    {
        string ExternalId { get; set; }
        string SystemName { get; set; }
    }
}
